    package pojo;

    import anno.Column;
    import anno.Table;
    import lombok.AllArgsConstructor;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    import java.time.LocalDateTime;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Table("tb_orders")
    public class Order {
        @Column(isId = true)
        private Integer id;
        private Integer userId;
        private Integer showtimeId;
        private Double totalPrice;
        private LocalDateTime orderTime;
        private String status;
        private LocalDateTime createdAt;  // 新增字段
        @Column(ignore = true)
        private String userFullname;
        @Column(ignore = true)
        private String movieTitle;
        @Column(ignore = true)
        private String cinemaName;
    }